package org.danger.t7.common.ws;

import java.util.List;

import javax.websocket.HandshakeResponse;
import javax.websocket.server.HandshakeRequest;

public interface WsEventHandler {

    void onReceive(String uid, String sessionId, String msg);

    void onClientConnected(String uid, List<String> sessionIds);

    void onClientClosed(String uid, String sessionId, List<String> strings);

    String handshake(HandshakeRequest request, HandshakeResponse response);
}
